<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%--使用taglib 引入标签库--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>用户管理-编辑信息</title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>编辑请假数据</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="?action=edit">
            <div class="form-group">
                <div class="label">
                    <label>请假编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${m.leaveID}" readonly="readonly" name="leaveID" data-validate="required:请输入请假编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>课程编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${m.courseID}" name="courseID" data-validate="required:请输入课程编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>请假事由：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="reason" value="${m.reason}" data-validate="请假事由不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>天数：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="daynum" value="${m.daynum}" data-validate="天数不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>学号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="stuNo" value="${m.stuNo}" data-validate="学号不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>请假时间：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="applytime" value="${m.applytime}" data-validate="请假时间不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>状态：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="status" value="${m.status}" data-validate="状态不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>审核时间：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="datetime" value="${m.datetime}" data-validate="审核时间不能为空！" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>审核意见：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="opinion" value="${m.opinion}" data-validate="审核意见不能为空！" />
                </div>
            </div>
            <%--<div class="form-group">
                <div class="label">
                    <label>状态：</label>
                </div>
                <div class="field">
                    <select name="status" class="input w50">
                        <option value="">请选择状态</option>
                        <option value="0"  <c:if test="${m.status==0}">selected</c:if>>禁用</option>
                        <option value="1" <c:if test="${m.status==1}">selected</c:if>>正常</option>
                    </select>
                    <div class="tips"></div>
                </div>
            </div>--%>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>
